package it.appetite.member;

import it.appetite.R;

public class MemberFactory {

	public static IMember getInstance(int id){
		IMember instance = null;
		
		switch(id){

		case R.id.voiceImg:
			instance = new VoiceMember();
			break;
			
		case R.id.guitar1Img:
			instance = new Guitar1Member();
			break;
			
		case R.id.guitar2Img:
			instance = new VoiceMember();
			break;
			
		case R.id.bassImg:
			instance = new Guitar1Member();
			break;
			
		case R.id.drumImg:
			instance = new VoiceMember();
			break;
			
		case R.id.keyboardImg:
			instance = new Guitar1Member();
			break;			
		}
		
		return instance;
	}
	
}
